package com.wcx.application.service.Impl;

import com.wcx.application.domian.IndustriesBean;
import com.wcx.application.domian.PositionBean;
import com.wcx.application.mapper.IndustriesMapper;
import com.wcx.application.mapper.PositionMapper;
import com.wcx.application.service.IndustriesService;
import com.wcx.application.service.PositionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IndustriesServiceImpl implements IndustriesService {
    @Autowired
    IndustriesMapper industriesMapper;

    @Override
    public List<IndustriesBean> getList() {
        return industriesMapper.getList();
    }

    @Override
    public int update(IndustriesBean industriesBean) {
        return industriesMapper.update(industriesBean);
    }

    @Override
    public int delete(int id) {
        return industriesMapper.delete(id);
    }


    @Override
    public int create(IndustriesBean industriesBean) {
        return industriesMapper.create(industriesBean);
    }

    @Override
    public List<IndustriesBean> searchList(IndustriesBean industriesBean) {
        return industriesMapper.searchList(industriesBean);
    }



}
